Skip to content

refactor: consolidate duplicate prompt files (#2472)#2483

Merged
mrveiss merged 1 commit intoDev_new_guifrom
fix/issue-2472
Mar 26, 2026
Merged

refactor: consolidate duplicate prompt files (#2472)#2483
mrveiss merged 1 commit intoDev_new_guifrom
fix/issue-2472

Conversation

@mrveiss
Copy link
Owner

@mrveiss mrveiss commented Mar 26, 2026

Summary

  • Delete 6 stale duplicate prompt files from root prompts/chat/ — backend resources/prompts/chat/ is the canonical source
  • Update PathConstants.PROMPTS_DIR to point to autobot-backend/resources/prompts/ instead of root prompts/
  • Update populate_knowledge_base.py glob paths to reference backend prompts
  • Update 2 doc files referencing the old path

Closes #2472

Test plan

  • No runtime code referenced root prompts/chat/ — only path_constants.py (now updated)
  • Backend prompt_manager.py loads from resources/prompts/ (unchanged)
  • Pre-commit hooks pass (black, isort, flake8, bandit)

@mrveiss mrveiss merged commit f871678 into Dev_new_gui Mar 26, 2026
2 of 4 checks passed
@github-actions
Copy link

✅ SSOT Configuration Compliance: Passing

🎉 No hardcoded values detected that have SSOT config equivalents!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant